<template>
    <div class="container">
      <el-table
        border
        height='618'
        :data="list">
        <el-table-column type="index" width="50" label="序号" align='center'></el-table-column>
        <el-table-column prop="goodsName" label="商品名称" align='center'></el-table-column>
        <el-table-column prop="goodCode" label="商品编码" align='center' width='200'></el-table-column>
        <el-table-column prop="goodsBarCode" label="商品条码" align='center' width='200'></el-table-column>
        <el-table-column prop="goodsUnitName" label="单位" align='center'></el-table-column>
        <el-table-column prop="quantity" label="商品数量" align='center'></el-table-column>
      </el-table>
    </div>
</template>

<script>
export default {
  props:{
    list: {
      type: Array,
      default: () => {
        return []
      }
    },
  },
  data(){
    return {
      tableData: []
    }
  },
  computed: {},
  watch: {},
  created(){},
  mounted(){},
  methods:{},
}
</script>
<style scoped>
.container{}
</style>
